package com.micro.service;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Create by Vic Xu on 2019/3/6
 */
@EnableFeignClients
@SpringCloudApplication
@EnableCaching
@MapperScan({"com.micro.service.dao"})
@EnableHystrixDashboard
public class ProducerApplication {

    //    druid控制台:http://localhost:8081/druid/sql.html
    public static void main(String[] args) {
        SpringApplication.run(ProducerApplication.class, args);
    }
}
